//提供 封装了 执行 登录 注册 相关功能的 异步请求的api方法
//导入 axios
import axios from "@/utils/request.js";

//按需导出 api方法
export const getGoodsList = (params) => axios({
    url: 'goods',
    params
})

export const delGoods = (id) => axios({
    url: `goods/${id}`,
    method:'delete'
})